package com.elric.mall.mapper;

import com.elric.mall.model.ZgBaseSsly;
import com.elric.mall.model.ZgBaseSslyExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgBaseSslyMapper {
    long countByExample(ZgBaseSslyExample example);

    int deleteByExample(ZgBaseSslyExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZgBaseSsly record);

    int insertSelective(ZgBaseSsly record);

    List<ZgBaseSsly> selectByExample(ZgBaseSslyExample example);

    ZgBaseSsly selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZgBaseSsly record, @Param("example") ZgBaseSslyExample example);

    int updateByExample(@Param("record") ZgBaseSsly record, @Param("example") ZgBaseSslyExample example);

    int updateByPrimaryKeySelective(ZgBaseSsly record);

    int updateByPrimaryKey(ZgBaseSsly record);
}